package com.java.simple.smallspring.context.event;

import com.java.simple.smallspring.context.ApplicationEvent;
import com.java.simple.smallspring.context.ApplicationListener;

/**
 * @author zhoujunlin
 * @date 2022年08月31日 16:02
 * @desc
 */
public interface ApplicationEventMulticaster {

    void addApplicationListener(ApplicationListener<?> listener);

    void removeApplicationListener(ApplicationListener<?> listener);

    void multicastEvent(ApplicationEvent event);

}
